package com.youease.chris.model.vo
{
	import mx.collections.XMLListCollection;
	
	[Bindable]
	public class MenuData
	{
		public var menuBarCollection:XMLListCollection;
		
		private var menubarXML:XMLList =
			<>
				<menuitem label="文件" data="top">
					<menuitem label="新建工程" data="newProject"/>
					<menuitem label="打开工程" data="openProject"/>
					<menuitem label="检查完整性" data="checkProject"/>
					<menuitem label="保存" data="saveProject" enabled="false"/>
				</menuitem>
				<menuitem label="工程" data="top">
					<menuitem label="新建地图" data="newMap" enabled="false"/>
					<menuitem label="新建素材" data="newTexture" enabled="false"/>
					<menuitem type="separator"/>
					<menuitem label="MenuItem 2-B" >
						<menuitem label="dddd" >
							<menuitem label="test" >
								<menuitem label="dddd" type="check" data="test" enabled="false"/>
							</menuitem>
						</menuitem>
						<menuitem label="SubMenuItem 3-A" type="radio"
							groupName="one" data="3A" enabled="false"/>
						<menuitem label="SubMenuItem 3-B" type="radio"
							groupName="one" data="3B"/>
					</menuitem>
				</menuitem>
				<menuitem label="视图" data="top">
					<menuitem label="素材剪切" data="textureView" enabled="false"/>
				</menuitem>
				<menuitem label="帮助" data="top">
					<menuitem label="用法" data="usage"/>
					<menuitem label="关于" data="about"/>
				</menuitem>
			</>;
		
		public function MenuData()
		{
			this.menuBarCollection = new XMLListCollection(menubarXML);
		}
	}
}